package com.happy.table;

import java.util.List;

/**
 * @Author : Yan
 * @Description : 表格标题
 */
public class Th {
    // 替换字符
    private String thReplace = TableReplace.TH.getValue();

    // th html
    private String thHtml = "<th>" + this.thReplace + "</th>\n";

    public Th(String value){
        this.thHtml = this.thHtml.replace(this.thReplace, value);
    }

    public String getThHtml() {
        return this.thHtml;
    }
}
